<!-- 
	@author : Jason Meulenhoff
	@mail 	: mail@kacangboi.com
	@web : http://kacangboi.com
	@copyright : ViniWeb Internet Facilities
 -->
<!DOCTYPE html>
<html>
	<head>
		<title>ViniWEB WarpStreaming</title>
		<link href="../css/design.style.css" rel="stylesheet" type="text/css"/>
		<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
		<script type="text/javascript" src="../js/ajaxRequest.js"></script>
		<script type="text/javascript" src="../js/admin.js"></script>
	</head>
	<body>
		<script type="text/javascript">
			GetLiveValues();
			GetLiveUrl();
			getDisabled();
		</script>
		
		{script}
		<div id='container'>
		<div id="float" style='display : none;'>
    		<img id="close_message" style="float:right;cursor:pointer" onclick="$('#float').slideUp();" src="../images/cross.png" />
    		<img src="../images/error.png"/><span> {message}</span>
		</div>
			<div id='head'>
				<div id='logo'>
					<!-- Enter Logo Here -->
					<img src="../images/logo.png"/>
				</div>
			</div>
			<div id='content'>
				<!--  Sidebar -->
				<div id='sidebar'>
					<!-- BreadCrumb -->
					<span>Last Visited Pages : {breadcrumb} ,</span>
					<!-- Logged in as -->
					<span>You are currently logged on as, <span style='color : blue;'>{username}</span></span>
					<br/>
					<br/>
					<span><marquee><img src='../images/note.png'/>ViniWEB Internet Facilities is proud to present version 3 of the streaming application, <img src='../images/note.png'/> There are three new sessions online</marquee></span>
					<!-- News Scroller -->
				</div>
				<!-- Menu -->
				<div id='menu' style='width : 200px;'>
					{menu}
				</div>
				<!-- Player -->	
				<div id='player' style='margin-left : 100px;'>
				<!--  Making a new user -->
				<form method='post'>
					<table class='adminform'>
						<tr>
							<th>Register a new account</th>
						</tr>
						<tr>
							<th><img src='../images/user.png'/> Username</th>
							<td><input type='text' value="{userDetails}" id="username" readonly="readonly"/></td>
						</tr>
						<tr>
							<th><img src='../images/key.png'/> Password</th>
							<td><input type='text' value='{passwordDetails}' id='password'/></td>
						</tr>
						<tr>
							<th><img src='../images/link.png'/> Email Details to</th>
							<td><input type='text' id='email' value='jayson2k7@gmail.com'/></td>
						</tr>
						<tr>
							<td><input type='button' value="Register Account" onclick='sendUserCommand($("#username").val(),$("#password").val(),$("#email").val());'/></td>
						</tr>
						<tr>
							<td colspan="3" id='addComp'>
							
							</td>
						</tr>
					</table>
				</form>
				<br/>
				<br/>
				<form method='post'>
					<table class='adminform'>
						<tr>
							<th>Live Webcast Settings</th>
						</tr>
						<tr>
							<th>Enable Live Webcasts</th>
							<td>
								<select id='disabled' onchange='disablelive($("#disabled").val());'>
									<option value='FALSE'>Enabled</option>
									<option value='TRUE'>Disabled</option>
								</select>
							</td>
						</tr>
						<tr id='1'>
							<th><img src='../images/sound.png'/> Display Language</th>
							<td>
								<select id='lang' onchange='sendLanguageCommand($("#lang :selected").val());'  >
									<option value='ENGLISH'>English Only</option>
									<option value='BOTH'>English And Dutch</option>
									<option value='DUTCH'>Dutch Only</option>
								</select>
							</td>
						</tr>
						<tr id='2'>
							<th><img src='../images/link.png'/> Live url</th>
							<td><input type='text' id='url' onchange="saveUrl($('#url').val());" value=''/></td>
						</tr>
						<tr id='3'>
							<th><img src='../images/link.png'/> Publishing Point</th>
							<td>
								<select id='pb' onclick='GetPb($("#pb").val());'>
									<option value='ENGLISH'>English Publishing Point</option>
									<option value='DUTCH'>Dutch Publishing Point</option>
								</select>
							</td>
							<td><input type='text' onchange='SetPb($("#pb").val(),$("#pbvalue").val());' id='pbvalue'/></td>
						</tr>
						<tr id='4'>
							<th><img src='../images/cancel.png'/> Clear Chat Table</th>
							<td><input type='button' value="Clear" onclick='clearchat();'/></td>
						</tr>
						<tr>
							<th colspan="2"><img src='../images/error.png'/> The settings will be saved automatically</th>
						</tr>
					</table>
				</form>
				</div>
			</div>
			<div id='footer'>
				<div style='text-align : center; padding-top : 190px; height: 249px;'>
					<span style='font-size : 14px;'>&copy; ViniWeb Internet Facilities 2009, all rights reserved</span>
					<br/>
					<span style='font-size : 12px;'>Design by : <a href='http://kacangboi.com''>KacangNetworks</a></span>
				</div>
			</div>
		</div>
</html>